//
//  LGPlaceholderTextView.h
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/20.
//  Copyright © 2018年 Future. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LGPlaceholderTextView : UITextView
/**
 placeholder
 */
@property(nonatomic, copy) NSString *placeholder;
/**
 placeholder 的颜色
 */
@property(nonatomic,strong) UIColor *placeHolderColor;

/**
 最大字数 默认:500
 */
@property (nonatomic,assign) NSInteger maxNum;

/**
 超出字符时的Block响应
 */
@property (nonatomic,copy) void (^outRangeHandle)(LGPlaceholderTextView *textView);


/**
 TextView在编辑的的block响应
 */
@property (nonatomic,copy) void (^changeEditing)(LGPlaceholderTextView *textView);

@end
